Skip to content

fix(sessions): hide subagent sessions from catalogs - #63

Open
danielkov wants to merge 2 commits into
mainfrom
feat/sessions-hide-subagents
Open

fix(sessions): hide subagent sessions from catalogs#63
danielkov wants to merge 2 commits into
mainfrom
feat/sessions-hide-subagents

Conversation

@danielkov

Copy link
Copy Markdown
Contributor

Summary

Record structured top-level or subagent origin metadata in each new session's initial transcript, then omit subagent-origin sessions from the shared durable session catalog used by CLI, TUI, and ACP clients.

Impact

New subagent sessions no longer appear in session discovery, including the macOS app. They remain resumable by a known ID. Existing sessions without structured origin metadata remain visible.

Technical details

Durable structured origin

The origin uses the existing transcript item metadata map rather than prompt-text heuristics or a new transcript record shape. Catalog detection checks both current and historical replacement states so compaction does not make a subagent session discoverable again.

@danielkov
danielkov force-pushed the feat/sessions-hide-subagents branch from 8ffea4a to bc21c94 Compare August 31, 2026 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant